package com.example.mybatisplus.model.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 学生的初访情况
 * </p>
 *
 * @author cft
 * @since 2022-06-30
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("pcs_first_apo_status")
@ApiModel(value="FirstApoStatus对象", description="学生的初访情况")
public class FirstApoStatus extends Model<FirstApoStatus> {

    private static final long serialVersionUID = 1L;

    @TableId(value ="f_view_id", type = IdType.AUTO)
    private Long fViewId;

    @TableField("f_apo_id")
    private Long fApoId;

    @TableField("f_priority")
    private Integer fPriority;

    @TableField("f_selec_period")
    private Integer fSelecPeriod;

    @TableField("f_place")
    private String fPlace;

    @TableField("f_viewer_id")
    private Long fViewerId;

    @TableField("f_apo_record")
    private String fApoRecord;

    @TableField("f_result")
    private String fResult;


    @Override
    protected Serializable pkVal() {
        return this.fViewId;
    }

}
